<%@ page import="cn.aloxc.stock.context.SysContext" %>
<g:each in="${SysContext.FUND_ATYPE}" var="ait" status="ai">
  <g:each in="${SysContext.FUND_PERIOD}" var="pit" status="pi">
    <g:link action="sdd" params="[p:pi,a:ai,max:params.max,s:params.s]">
      <g:if test="${pit == params.p && ait == params.a}" >
          <span class="menuButton actions red">${SysContext.FUND_PERIOD_TEXT[pi]}-${SysContext.FUND_ATYPE_TEXT[ai]}</span>
      </g:if>
      <g:else>
        <span class="menuButton actions">${SysContext.FUND_PERIOD_TEXT[pi]}-${SysContext.FUND_ATYPE_TEXT[ai]}</span>
      </g:else>
    </g:link>&nbsp;&nbsp;
  </g:each>
</g:each>